package com.relax.no_xml.demo;

import com.relax.no_xml.aop.AopService;
import com.relax.no_xml.bean.ImportColor;
import com.relax.no_xml.bean.Person;
import com.relax.no_xml.config.AopConfig;
import com.relax.no_xml.config.PqsConfig;
import com.relax.no_xml.ignoreDependenceInterface.impl.CImpl;
import com.relax.no_xml.service.HelloService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AopDemo {
	public static void main(String[] args) {
		final ApplicationContext application = new AnnotationConfigApplicationContext(AopConfig.class);
		System.out.println("======================");

		final AopService aopService = application.getBean(AopService.class);
		String pqs = aopService.hello("pqs");


	}
}
